package net.trustie.pipeline;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import us.codecraft.webmagic.Task;
import net.trustie.dao.lagou_Dao;
import net.trustie.model.lagou_Model;
import core.PageModelPipeline;
@Component("lagou_pipeline")
public class lagou_pipeline implements PageModelPipeline<lagou_Model>{
	
	@Resource
	private lagou_Dao lg_Dao;

	public void process(lagou_Model lg_Model, Task arg1) {		
		lg_Dao.add(lg_Model);
}
}